projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92e6c93
)
Fix printing of usage when OptionError is thrown.
author
Ewan Mellor
<ewan@xensource.com>
Sun, 17 Dec 2006 18:24:40 +0000
(18:24 +0000)
committer
Ewan Mellor
<ewan@xensource.com>
Sun, 17 Dec 2006 18:24:40 +0000
(18:24 +0000)
Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/xm/main.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/main.py
b/tools/python/xen/xm/main.py
index 42e6f74899aa2624b948306313e88fee205e282d..3c118172aee91bb0c40a2e369a3efe3eb8dcc5bb 100644
(file)
--- a/
tools/python/xen/xm/main.py
+++ b/
tools/python/xen/xm/main.py
@@
-1802,7
+1802,7
@@
def _run_cmd(cmd, cmd_name, args):
except OptionError, e:
err(str(e))
_usage(cmd_name)
- print e.usage
()
+ print e.usage
except security.ACMError, e:
err(str(e))
except: